import { httpGet, download } from '@/http'
import { services } from '@/config'

export const getColumns = (dsName, tableName) => httpGet(`${services.genService}form/columns`, { dsName, tableName })

export const downloadCode = async data => download(`${services.genService}form/download`, { post: true, data })
